import * as SETAPI from './'

export default {
    //获取数据
    setGetData: (code, params) => {
        return SETAPI.POST2(code, '/setting/paramInit', params)
    },
    //设置数据
    setInvMachine: (code, params) => {
        return SETAPI.POST2(code, '/setting/paramSet', params)
    },
    //获取安规列表
    setSafety: (code, params) => {
        return SETAPI.POST2(code, '/setting/querySafetyRule', params)
    },
    //RF展示数据
    setRfRevealData: (code, params) => {
        return SETAPI.POST2(code, '/inverter/getRealtimeInfo.do', params)
    },
    //获取储能机安规
    setSafetyHybrid: (code, params) => {
        return SETAPI.POST2(code, '/setting/getDictionary', params)
    },
    //获取透传数据
    setGetDataPT: (code, params) => {
        return SETAPI.POST2(code, '/settingnew/paramInit', params)
    },
    //设置透传数据
    setInvMachinePT: (code, params) => {
        return SETAPI.POST2(code, '/settingnew/paramSet', params)
    },
    //------------------------本地
    LocalIn: (params) => {
        return SETAPI.POST3(params)
    },
    //安规检测
    SafetyTest: (params) => {
        return SETAPI.POST4(params)
    }
}